package com.lsxh.maoqiuqiu.utils;

import javax.servlet.ServletConfig;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import org.apache.log4j.Logger;

public class InitServlet extends HttpServlet {

	private static final Logger log = Logger.getLogger(InitServlet.class);

	/**
	 * 系统启动时执
	 */
	public void init(ServletConfig config) throws ServletException {
		// 这个地方写系统启动需要执行的操作
		System.out
				.println("If something need be run on start, modify the InitServlet class.");
	}

	/**
	 * 系统停止时执行
	 */
	public void destroy() {

	}
}
